package com.lottery.material.enumeration.conf;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：系统平台收益分成比例配置枚举类
 * Created by 朱正磊 on 2019-04-15 16:49
 */
@Getter
public enum PlatformScaleConfigEnum implements BaseEnum {

    // 收益类型（1：文章打赏；2：文章收费）
    UTILITY_TYPE_REWARD("UTILITY_TYPE", 1, "文章打赏"),
    UTILITY_TYPE_CHARGE("UTILITY_TYPE", 2, "文章收费"),
    ;

    private String code;
    private Object value;
    private String description;

    PlatformScaleConfigEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String UTILITY_TYPE = "UTILITY_TYPE";

}
